﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TeamManagement.aspx.cs" Inherits="WebClient.TeamManagement" %>
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>



<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <h2>
        Team Management
    </h2>
    <p><asp:LoginName ID="HeadLoginName" runat="server" />, here are the users you supervise for <asp:ComboBox ID="TeamSelect" runat="server" AutoPostBack="true" DropDownStyle="DropDown" CssClass="" OnTextChanged="LoadNewData" /></p>
    <asp:DataGrid ID="SupervisedUsers" runat="server" CssClass="grid" AutoGenerateColumns="False" >
        <Columns>
            <asp:EditCommandColumn EditText="Edit" CancelText="Cancel" UpdateText="Save Changes" />
            <asp:BoundColumn DataField="UserID" ReadOnly="True" HeaderText="Employee ID" />
            <asp:BoundColumn DataField="NetID" ReadOnly="True" HeaderText="Employee NetID" />
            <asp:BoundColumn DataField="fullName" ReadOnly="True" HeaderText="Employee Name" />
            <asp:ButtonColumn ButtonType="PushButton" HeaderText="Remove" CommandName="RemoveUser"/>
        </Columns>
    </asp:DataGrid>
</asp:Content>
